@import "mixin";

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-width: 1000px;
}

a {
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.pull-left {
  float: left;
  display: inline;
}

.pull-right {
  float: right;
  display: inline;
}

.clearfix {
  @include clearfix;
}

.app-init {
  height: 100%;
}

.el-button .iconfont {
  font-size: inherit;
}

.app-init {
  height: 100%;
}

.app-layout {
  &__main {
    height: calc(100vh - 120px);
  }
  &__content {
    height: 100%;
  }
  .has-nav-tabs {
    .app-layout__content {
      padding: 10px;
      height: calc(100% - 51px);
    }
  }
}

/*定义滚动条*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  margin-right: 10px;
}

::-webkit-scrollbar-track {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #f1f1f1;
  border: 1px solid #f1f1f1;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #c1c1c1;
}
